package com.teamc.team.service;

import com.teamc.team.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.teamc.team.vo.AdminUserVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ding
 * @since 2021-06-10
 */
public interface IUserService extends IService<User> {
    Boolean isRegister(String id);
    boolean loginIsTrue(String id,String password);
    boolean register(String account ,String password);
    int ChangeUserEnable(String id);
    List<User> findAll();
    List<AdminUserVO> findAllWithClass();
    List<AdminUserVO> findAllWithClassbyEnable();
    List<AdminUserVO> findAllWithClassByID(String ID);
    int deleteUser(String id);
    int addUser(User x);
    int modifyUser(User x);
    boolean deleteUserById(String id);
}
